#ifndef Socket_TypeDef_h__
#define Socket_TypeDef_h__


typedef int socket_id;
typedef int socket_fd;
typedef int socket_type;
typedef int epoll_fd;


#define SOCKET_DATA 0
#define SOCKET_CLOSE 1
#define SOCKET_OPEN 2
#define SOCKET_ACCEPT 3
#define SOCKET_ERR 4
#define SOCKET_EXIT 5
#define SOCKET_UDP 6
#define SOCKET_WARNING 7


enum Socket_Protocol
{
	Tcp,Udp
};
#endif // Socket_TypeDef_h__
